<ng-container *ngIf="labelCode">
  <span
    *ngIf="tooltip"
    class="badge"
    [class]="'badge-' + labelCode"
    [matTooltip]="result">
    {{ displayStatus }}
  </span>
  <span *ngIf="!tooltip" class="badge" [class]="'badge-' + labelCode">
    {{ displayStatus }}
  </span>
</ng-container>
